export const footballList = () => {
  return new Promise((res, rej) => {
    setTimeout(() => {
      let data = [{
          isNum: true,
          num: 2,
          name: 'sugar man',
          solid: '9连红',
          hollow: ''
        },
        {
          isNum: true,
          num: 1,
          name: '张政发',
          solid: '7连红',
          hollow: ''
        },
        {
          isNum: true,
          num: 1,
          name: '上升',
          solid: '3连红',
          hollow: ''
        }, {
          isNum: false,
          num: 0,
          name: '张政发',
          solid: '',
          hollow: '近10中9'
        }, {
          isNum: true,
          num: 2,
          name: '江流',
          solid: '3连红',
          hollow: ''
        }, {
          isNum: false,
          num: 0,
          name: '招富',
          solid: '9连红',
          hollow: ''
        }, {
          isNum: true,
          num: 2,
          name: '沉沉',
          solid: '',
          hollow: '近7中5'
        }, {
          isNum: true,
          num: 1,
          name: '羊肉奥',
          solid: '',
          hollow: '近7中5'
        }
      ]
      res({
        code: 200,
        data: data
      })

    }, 1500)
  })
}

export const mockList = (pageNum, pageSize) => {
	console.log(pageNum, pageSize)
	return new Promise((resolve, reject) => {
		setTimeout(() => {
			const listData = [];
			for (let i = 0; i < pageSize; i++) {
				listData.push({
					i: `第${pageNum}页-第${i}个`
				});
			}
			resolve({
				listData: listData,
				totalPage: 6,
				totalSize: 56
			});
		}, 1000);
	});
}